package com.ujson.base.persistence;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@Data
@MappedSuperclass
public class BaseDo extends UpdateDo {

    @ApiModelProperty("业务名称")
    @Column(name = "name", length = 100)
    protected String name;

    @ApiModelProperty("业务描述")
    @Column(name = "description")
    protected String description;

}
